-- GENERATED SPELL FOR [Mo'arg Tormenter] --


function spell0_23212(pUnit, Event) --@Acid Geyser,n/a--
pUnit:FullCastSpellOnTarget(40630,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_23212', 5000, 1)
end

function Sorts_23212(pUnit, Event)
local choix_sorts_23212 = math.random(0, 0)
if choix_sorts_23212 == 0 then
pUnit:RegisterEvent('spell0_23212', 1, 1)
end
end

function mob23212_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23212', math.random(1500, 3000), 1)
end

function mob23212_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23212_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23212_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23212, 1, 'mob23212_Action')
RegisterUnitEvent(23212, 2, 'mob23212_Leave')
RegisterUnitEvent(23212, 3, 'mob23212_Kill')
RegisterUnitEvent(23212, 4, 'mob23212_Die')
